package gdut.jmxywz.been;

/**
 * MessageMembers entity. @author MyEclipse Persistence Tools
 */

public class MessageMembers implements java.io.Serializable {

	// Fields

	private Integer id;
	private Teacher teacher;
	private Message message;
	private String state;

	// Constructors

	/** default constructor */
	public MessageMembers() {
	}

	/** minimal constructor */
	public MessageMembers(Teacher teacher, Message message) {
		this.teacher = teacher;
		this.message = message;
	}

	/** full constructor */
	public MessageMembers(Teacher teacher, Message message, String state) {
		this.teacher = teacher;
		this.message = message;
		this.state = state;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Teacher getTeacher() {
		return this.teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Message getMessage() {
		return this.message;
	}

	public void setMessage(Message message) {
		this.message = message;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

}